CVE-2026-32722
Memray-generated HTML reports vulnerable to Stored XSS via unescaped command-line metadata
Description
Memray is a memory profiler for Python. Prior to Memray 1.19.2, Memray rendered the command line of the tracked process directly into generated HTML reports without escaping. Because there was no escaping, attacker-controlled command line arguments were inserted as raw HTML into the generated report. This allowed JavaScript execution when a victim opened the generated report in a browser. Version 1.19.2 fixes the issue.
INFO
Published Date :
March 18, 2026, 10:16 p.m.
Last Modified :
March 19, 2026, 7:21 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Memray to version 1.19.2 or later.
- Ensure command line arguments are properly escaped.
Public PoC/Exploit Available at Github
CVE-2026-32722 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-32722.
| URL | Resource |
|---|---|
| https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 | Patch |
| https://github.com/bloomberg/memray/releases/tag/v1.19.2 | Product Release Notes |
| https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-32722 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-32722
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Bloomberg Memray’s Stored XSS via Unescaped Command-Line Metadata
None
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-32722 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-32722 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:bloomberg:memray:*:*:*:*:*:python:*:* versions up to (excluding) 1.19.2 Added Reference Type GitHub, Inc.: https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/bloomberg/memray/releases/tag/v1.19.2 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9 Types: Exploit, Vendor Advisory -
New CVE Received by [email protected]
Mar. 18, 2026
Action Type Old Value New Value Added Description Memray is a memory profiler for Python. Prior to Memray 1.19.2, Memray rendered the command line of the tracked process directly into generated HTML reports without escaping. Because there was no escaping, attacker-controlled command line arguments were inserted as raw HTML into the generated report. This allowed JavaScript execution when a victim opened the generated report in a browser. Version 1.19.2 fixes the issue. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N Added CWE CWE-79 Added Reference https://github.com/bloomberg/memray/commit/ba6e4e2e9930f9641bed7adfdf43c8e2545ce249 Added Reference https://github.com/bloomberg/memray/releases/tag/v1.19.2 Added Reference https://github.com/bloomberg/memray/security/advisories/GHSA-r5pr-887v-m2w9